﻿@{
    ViewBag.MainMenu = ViewBag.MainMenu ?? "Home"; 
    ViewBag.KeyWords = ViewBag.KeyWords ?? AppConfig.MetaKeyWords;
    ViewBag.Description = ViewBag.Description ?? AppConfig.MetaDescription;              
}
<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8" />
        <title>@ViewBag.Title - @Settings.SiteName</title>
        <meta name="keywords" content="@ViewBag.KeyWords" />
        <meta name="description" content="@ViewBag.Description" />
        @Using(SystemDirectory.Utility, "pepper-grinder/jquery-ui-1.8.16.custom.css")
        @Using(SystemDirectory.Utility, "common.css")
        @Using(SystemDirectory.Content, "common.css")
        @Using(SystemDirectory.Utility, "scripts/jquery-1.6.2.min.js")
        @Using(SystemDirectory.Utility, "scripts/modernizr-1.7.min.js")
        @Using(SystemDirectory.Utility, "scripts/jquery-ui-1.8.16.custom.min.js")
        @Using(SystemDirectory.Utility, "scripts/global.js")
        @Using(SystemDirectory.Scripts, "core.js")
        @RenderSection("Header", false)
    </head>
    <body class="bgnone">
        @RenderPage("_Header.cshtml")
        @RenderPage("_Navigator.cshtml")
        <div class="container">
            <div class="cinner">
                @RenderBody()
                <div class="clear"></div>
            </div>
        </div>
        @RenderPage("_Footer.cshtml")
        <iframe frameborder="0" scrolling="no" id="dialog-container"/>
    </body>
</html>
